#ifndef ADDNEWEVENT_H
#define ADDNEWEVENT_H

#include <QDialog>
#include <QDate>
#include "eventshandler.h"

namespace Ui {
    class AddNewEvent;
}

class AddNewEvent : public QDialog
{
    Q_OBJECT

public:
    explicit AddNewEvent(QWidget *parent = 0);
    explicit AddNewEvent(QDate chsnDate, EventsHandler *events);
    ~AddNewEvent();

private:
    Ui::AddNewEvent *ui;
    QDate chsDate;
    EventsHandler *evnts;

private slots:
    void on_okButton_clicked();
};

#endif // ADDNEWEVENT_H
